home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010921-20020314
/
000191_fdc@watsun.cc.columbia.edu_Mon Dec 3 09:54:24 EST 2001.msg
< prev
next >
Wrap
Text File
|
2002-03-13
|
1KB
|
33 lines
Article: 13014 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problems with C-Kermit, modems, Unix, dialling....
Date: 3 Dec 2001 14:31:35 GMT
Organization: Columbia University
Lines: 16
Message-ID: <9ug2c7$sko$1@newsmaster.cc.columbia.edu>
References: <3c075082.1810713@news.ision.net.uk> <3C0ABA43.20004@adelaide.edu.au> <9ueg27$54d$1@newsmaster.cc.columbia.edu> <3C0AE075.3000601@adelaide.edu.au>
NNTP-Posting-Host: watsun.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1007389895 29336 128.59.39.2 (3 Dec 2001 14:31:35 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 3 Dec 2001 14:31:35 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13014
In article <3C0AE075.3000601@adelaide.edu.au>,
Arthur Marsh <arthur.marsh@adelaide.edu.au> wrote:
: No, C-Kermit's run uses the shell currently defined for the user. If
: C-Kermit is defined as the login shell (useful for some situations),
: there isn't access to running other executables from within C-Kermit,
: hence the need for system(3) which uses /bin/sh regardless of the user's
: login shell.
:
For that you can do:
run /bin/sh -c "command arg1 arg2 ..."
Having separate RUN commands that select the user's preferred shell vs
/bin/sh would be no less obscure than this.
- Frank